<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: helib::DAGnode Class Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehelib.html">helib</a></li><li class="navelem"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classhelib_1_1_d_a_gnode-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">helib::DAGnode Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A node in an addition-DAG structure.  
 <a href="classhelib_1_1_d_a_gnode.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abaa0fd11d7fe10dd1ed8ee3cf0f601a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#abaa0fd11d7fe10dd1ed8ee3cf0f601a7">DAGnode</a> (<a class="el" href="namespacehelib.html#a007ac83d6ec59826a48a73602b739510">NodeIdx</a> ii, bool qq, long lvl, long chl=0, <a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *pt1=nullptr, <a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *pt2=nullptr)</td></tr>
<tr class="separator:abaa0fd11d7fe10dd1ed8ee3cf0f601a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fdd24de3328b44a480f996cd7ab4b3d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#a1fdd24de3328b44a480f996cd7ab4b3d">DAGnode</a> (<a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> &amp;&amp;other)</td></tr>
<tr class="separator:a1fdd24de3328b44a480f996cd7ab4b3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad774ce564eb346e936e84d3be644c11a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#ad774ce564eb346e936e84d3be644c11a">nodeName</a> () const</td></tr>
<tr class="separator:ad774ce564eb346e936e84d3be644c11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aabc9d7f8dd4de542948cfeee00b6c98f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacehelib.html#a007ac83d6ec59826a48a73602b739510">NodeIdx</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#aabc9d7f8dd4de542948cfeee00b6c98f">idx</a></td></tr>
<tr class="separator:aabc9d7f8dd4de542948cfeee00b6c98f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac326b392c6154bd714baaaef1aa29e67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#ac326b392c6154bd714baaaef1aa29e67">isQ</a></td></tr>
<tr class="separator:ac326b392c6154bd714baaaef1aa29e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06ef15b75ddb4e62dd0298aa0eebb866"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#a06ef15b75ddb4e62dd0298aa0eebb866">level</a></td></tr>
<tr class="separator:a06ef15b75ddb4e62dd0298aa0eebb866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58789513e4acc6bb7549d945adaacf90"><td class="memItemLeft" align="right" valign="top">std::atomic_long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#a58789513e4acc6bb7549d945adaacf90">childrenLeft</a></td></tr>
<tr class="separator:a58789513e4acc6bb7549d945adaacf90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad25871eba61bb55403bad2b206c18557"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#ad25871eba61bb55403bad2b206c18557">parent1</a></td></tr>
<tr class="separator:ad25871eba61bb55403bad2b206c18557"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691fb030f5ff11849b1b9a8a5809236a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#a691fb030f5ff11849b1b9a8a5809236a">parent2</a></td></tr>
<tr class="separator:a691fb030f5ff11849b1b9a8a5809236a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9d0c72f1a3ce01fcd0fcf40d0a85770"><td class="memItemLeft" align="right" valign="top">std::mutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#ab9d0c72f1a3ce01fcd0fcf40d0a85770">ct_mtx</a></td></tr>
<tr class="separator:ab9d0c72f1a3ce01fcd0fcf40d0a85770"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedd7ad15d18ec3a73474313e7cf32308"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhelib_1_1_ctxt.html">Ctxt</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_d_a_gnode.html#aedd7ad15d18ec3a73474313e7cf32308">ct</a></td></tr>
<tr class="separator:aedd7ad15d18ec3a73474313e7cf32308"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A node in an addition-DAG structure. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abaa0fd11d7fe10dd1ed8ee3cf0f601a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaa0fd11d7fe10dd1ed8ee3cf0f601a7">&#9670;&nbsp;</a></span>DAGnode() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">helib::DAGnode::DAGnode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacehelib.html#a007ac83d6ec59826a48a73602b739510">NodeIdx</a>&#160;</td>
          <td class="paramname"><em>ii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>qq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>lvl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>chl</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *&#160;</td>
          <td class="paramname"><em>pt1</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> *&#160;</td>
          <td class="paramname"><em>pt2</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1fdd24de3328b44a480f996cd7ab4b3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fdd24de3328b44a480f996cd7ab4b3d">&#9670;&nbsp;</a></span>DAGnode() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">helib::DAGnode::DAGnode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad774ce564eb346e936e84d3be644c11a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad774ce564eb346e936e84d3be644c11a">&#9670;&nbsp;</a></span>nodeName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string helib::DAGnode::nodeName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a58789513e4acc6bb7549d945adaacf90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58789513e4acc6bb7549d945adaacf90">&#9670;&nbsp;</a></span>childrenLeft</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::atomic_long helib::DAGnode::childrenLeft</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aedd7ad15d18ec3a73474313e7cf32308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedd7ad15d18ec3a73474313e7cf32308">&#9670;&nbsp;</a></span>ct</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhelib_1_1_ctxt.html">Ctxt</a>* helib::DAGnode::ct</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab9d0c72f1a3ce01fcd0fcf40d0a85770"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9d0c72f1a3ce01fcd0fcf40d0a85770">&#9670;&nbsp;</a></span>ct_mtx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::mutex helib::DAGnode::ct_mtx</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aabc9d7f8dd4de542948cfeee00b6c98f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabc9d7f8dd4de542948cfeee00b6c98f">&#9670;&nbsp;</a></span>idx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacehelib.html#a007ac83d6ec59826a48a73602b739510">NodeIdx</a> helib::DAGnode::idx</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac326b392c6154bd714baaaef1aa29e67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac326b392c6154bd714baaaef1aa29e67">&#9670;&nbsp;</a></span>isQ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::DAGnode::isQ</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a06ef15b75ddb4e62dd0298aa0eebb866"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06ef15b75ddb4e62dd0298aa0eebb866">&#9670;&nbsp;</a></span>level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long helib::DAGnode::level</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad25871eba61bb55403bad2b206c18557"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad25871eba61bb55403bad2b206c18557">&#9670;&nbsp;</a></span>parent1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a>* helib::DAGnode::parent1</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a691fb030f5ff11849b1b9a8a5809236a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a691fb030f5ff11849b1b9a8a5809236a">&#9670;&nbsp;</a></span>parent2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhelib_1_1_d_a_gnode.html">DAGnode</a> * helib::DAGnode::parent2</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/HElib/src/<a class="el" href="binary_arith_8cpp.html">binaryArith.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
